<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,height=device-height,initial-scale=1.0,user-scalable=no,minimum-scale=1.0,maximum-scale=1.0"/>
    <title>个人信息</title>
    <div th:include="head :: res"></div>
</head>
<body class="container">
<div th:include="head :: header-nav"></div>
<br>
<form class="form-horizontal">
    <div class="form-group">
        <label for="inputEmail4" class="col-sm-2 control-label">姓名：</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="inputEmail4" th:value="${user.getName()}" readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label for="inputEmail8" class="col-sm-2 control-label">用户名：</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="inputEmail8" th:value="${user.getUsername()}"
                   readonly="readonly">
        </div>
    </div>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">角色：</label>
        <div class="col-sm-10">
            <input type="text" class="form-control" id="inputEmail3" th:value="${user.getRole().getName()}"
                   readonly="readonly">
        </div>
    </div>
</form>
</body>
</html>